package com.xdemo.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="t_short_url")
public class ShortUrl  extends BaseEntity implements Serializable{

	private static final long serialVersionUID = 4035856665447982551L;
	
	@Id
	private String url;
	
	@Column
	private String fileName;
	
	@Column
	private String location;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
}
